<include file="../Public/header" />
<style>
.gank{ color:#CCC;}
</style>
<div class="ncenter_box">
<div class="accounttitle"><h1>卖出记录 </h1></div>
  <table width="100%" class="tab3" border="0" cellpadding="0" cellspacing="0" id="tb1">
  <thead>
		<tr>
			<th><span>卖出日期</span></th>
			<th><span>买家</span></th>
			<th><span>买家评分</span></th>
			<th><span>买入日期</span></th>
			<th><span>金额</span></th>
			<th>状态</th>
            <th><span>功能</span></th>
		</tr>
	</thead>
    <volist name='list2' id='vo'>
	<tr align="center">
		<td>{$vo.rdt|date='Y-m-d H:i:s',###}</td>
		<td>{$vo['b_user_id']|default="<span class='gank'>未卖出</span>"}</td>
        <td>{$vo['bid']|cx_usrate|default="<span class='gank'>未卖出</span>"}</td>
        <td><gt name="vo.bdt" value="0">{$vo.bdt|date='Y-m-d',###}<else/><span class='gank'>未卖出</span></gt></td>
        <td>{$vo['money']}</td>
        <td>
          <eq name="vo.is_sh" value="0">
            等待审核
            <else/>
            <eq name="vo.is_buy" value="0">
              等待交易
            </eq>
            <eq name="vo.is_buy" value="1">
              等待买家汇款
            </eq>
            <eq name="vo.is_buy" value="2">
              等待卖家确认
            </eq>
          </eq>
        </td>
        <td>
        <eq name="vo.is_buy" value="0">
        <a href="__URL__/eb_listDelAC/cid/{$vo['id']}/">撤销</a>
        </eq>
        <eq name="vo.is_buy" value="1">
        等待买家汇款 | <a href="__URL__/eb_listDelAC/cid/{$vo['id']}/">撤销</a>
        </eq>
        <eq name="vo.is_buy" value="2">
        <a href="__URL__/eb_list_DAC/cid/{$vo['id']}/">确认收款</a> | <a href="__URL__/eb_list_NODAC/cid/{$vo['id']}/">未收到款</a>
        </eq>
        </td>
	</tr>
    </volist>
</table>
<table width="100%" class="tab3_bottom" border="0" cellpadding="0" cellspacing="1">
<tr>
        <td align="center">{$page2}</td>
  </tr>
</table>
</div>
</body>
</html>
<script>new TableSorter("tb1");</script>